<template>
	<div class="signout">正在退出中...</div>
</template>

<script>
	export default {
		name:"SignOut",
		data:function(){
			return{}
		},
		created:function(){
			this.$store.commit("setUser", {
				islogin: 'False'
			});
			this.$emit("upLocalData", [{
				name:"is",
				value: false
			},{
				name:"user",
				value: this.$store.state.user
			}]);
			this.$emit("upLocalData", [{
				name: "type",
				value: "user"
			},{
				name: "channelName",
				value: "用户"
			}]);
			this.$router.push("home")
		}
	}
</script>

<style lang="less">
	@base:23.44/1rem;
	.signout{
		padding:40/@base 20/@base;
		text-align:center;
		font-size:24/@base;
	}
</style>
